package com.example.api.dao;

import com.example.api.model.entity.Vehicle;

import java.util.List;

public interface VehicleDao {

    int deleteByPrimaryKey(Integer id);

    int insert(Vehicle record);

    int insertSelective(Vehicle record);

    Vehicle selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Vehicle record);

    int updateByPrimaryKey(Vehicle record);

    List<Vehicle> findAll();

    Vehicle selectByNumberAndType(String number, String type);
    
}